package com.xiaoshuidi.cloud.framework.hangxin.config;

import com.xiaoshuidi.cloud.framework.hangxin.core.client.HangxinWebserviceClient;
import com.xiaoshuidi.cloud.framework.hangxin.core.service.InvoiceService;
import com.xiaoshuidi.cloud.framework.hangxin.core.service.InvoiceServiceImpl;
import org.springframework.boot.autoconfigure.AutoConfiguration;
import org.springframework.context.annotation.Bean;

@AutoConfiguration
public class LeaseInvoiceAutoConfiguration {
    @Bean
    public InvoiceService invoiceService() {
        return new InvoiceServiceImpl(new HangxinWebserviceClient());
    }
}
